require('@assets/css/login.css')
module.exports = function() {
	$("#submit").click(function() {
		$.post('/ult/login', {
			account: $("#account").val(),
			password: $("#password").val(),
		}, function(data) {
			window.localStorage.setItem('user', JSON.stringify(data))
			$.spaRouters.next('main')
		})
	})
}